]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Include generated enumeration types when scanning
authorOwen Taylor <otaylor@src.gnome.org>
Fri, 16 Jan 2009 20:10:26 +0000 (20:10 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Fri, 16 Jan 2009 20:10:26 +0000 (20:10 +0000)
gjs requires flags types to be registered with GObject to
work properly; g-ir-scanner requires the get_type() functions
to be present in a scanned header in order to find the
GObject type for a flag. So pass {tidy,big}-enum-types.h to
the scanner as appropriate.

svn path=/trunk/; revision=148

src/Makefile.am

index c3269b2332bb326dc2b9dda4c406fe2b6f749fe6..60e4784f6918adb6635f9562c2c01d85c0864184 100644 (file)
@@ -104,6 +104,7 @@ Tidy-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libtidy-1.0.la Makef
                --program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
                $(tidy_source_h)                        \
                $(tidy_source_c)                        \
+               tidy-enum-types.h                       \
                $(tidy_cflags)                          \
                -o $@
 CLEANFILES += Tidy-1.0.gir
@@ -121,6 +122,7 @@ Big-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libbig-1.0.la Makefil
                --program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
                $(big_source_h)                 \
                $(big_source_c)                 \
+               big-enum-types.h                \
                $(big_cflags)                           \
                -o $@
 CLEANFILES += Big-1.0.gir